
@echo off

set paramfilepath=%1%
set source=%2%
set branch=%3%
set checker=%4%
:: 5.报表目录：%output%result.json，日志目录：%output%formatcheck.log
set output=%5%
:: 6-本地项目路径，win环境直接用本地环境即可，第6个参数用不上
set pluginpath=%6%


:: 1-md文件路径，写入本地txt文件，2-扫描的源码绝对路径，3-pr分支，4-规则@符号隔开，5-报表路径+日志路径,6-工具路径（用来调起python）
echo ============ python %pluginpath%/lib/build-tools/formatcheck/main.py %paramfilepath% %source% %branch% %checker% %output%result.json %output%formatcheck.log
python %pluginpath%/lib/build-tools/formatcheck/main.py %paramfilepath% %source% %branch% %checker% %output%result.json %output%formatcheck.log
